package com.jame.context;

/**
 * @author : Jame
 * @date : 2021-06-29 15:32
 * 用于创建bean的返回类型包装,判断循环依赖
 **/
public class ReturnBeanType {
    //对象实例
    private  Object object;
    //是否单例
    private Boolean isSingle;

    public ReturnBeanType() {
    }

    public ReturnBeanType(Object object, Boolean isSingle) {
        this.object = object;
        this.isSingle = isSingle;
    }

    public ReturnBeanType(Boolean isSingle) {
        this.isSingle = isSingle;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public Boolean getSingle() {
        return isSingle;
    }

    public void setSingle(Boolean single) {
        isSingle = single;
    }


}
